<template>
  <div class="box">
    <el-breadcrumb separator=">">
      <el-breadcrumb-item to="/login" replace>首页</el-breadcrumb-item>
      <el-breadcrumb-item to="/login/platformData" replace>平台数据统计</el-breadcrumb-item>
      <el-breadcrumb-item>运营数据统计</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="tableBox">
      <div class="tableTitle">运营数据统计</div>
      <div class="searchBox">
        <el-form size="mini" inline>
          <div class="block">
            <el-form-item>
              <region hide-area @region="onChangeRegion"></region>
            </el-form-item>
            <el-form-item>
              <export-excel :tHeader="tHeader" :filterVal="filterVal" :tableData="tableData"></export-excel>
            </el-form-item>
            <el-form-item>
              <el-button type="primary" icon="el-icon-search" circle @click="search"></el-button>
            </el-form-item>
          </div>
        </el-form>
      </div>
      <el-row>
        <el-col :span="6">平台投资理财总人数</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">投资理财总金额</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">当日投资理财人数</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">当日投资总金额</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">投资1万以内用户总数</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">投资1万－3万以内用户总数</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">投资3万－5万以内用户总数</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">投资5万以上用户总数</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">授信信用用户总人数（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">授信信用用户总金额（区域划分）</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">当日授信信用用户人数（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">当日授信信用用户总金额（区域划分）</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">已使用信用额度人数（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">当日已使用信用额度人数（区域划分）</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">当日已使用信用额度总金额（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">注册用户总人数（区域划分）</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">当日注册总人数（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">注册并购买理财人数（区域划分）</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">当日注册并购买理财人数（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">注册并申请信用额度客户（区域划分）</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">当日注册并申请信用额度人数（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">入驻商铺数（区域划分）</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">当日入驻商铺数（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6">商家购买理财人数（区域划分）</el-col>
        <el-col :span="6">16346400.5000</el-col>
      </el-row>
      <el-row>
        <el-col :span="6">商家申请信用额度人数（区域划分）</el-col>
        <el-col :span="6">154</el-col>
        <el-col :span="6"></el-col>
        <el-col :span="6"></el-col>
      </el-row>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  import region from 'components/region'
  import exportExcel from 'components/exportExcel'

  export default {
    data () {
      return {
        info: {},
        tableData: [],
        tHeader: [],
        filterVal: []
      }
    },
    created () {
    },
    methods: {
      onChangeRegion (data) {
        console.log(data)
      },
      search () {
      }
    },
    components: {
      region,
      exportExcel
    }
  }
</script>

<style lang="less" ref="stylesheet/less" scoped>
  .el-row{
    display: flex;
    .el-col{
      padding: 15px 0;
      text-align: center;
      border-bottom: 1px solid #eee;
      border-right: 1px solid #eee;
      &:last-child{
        border-right: none;
      }
    }
  }
</style>
